package com.twu.biblioteca;

public class Book extends Item {

    public Book(String name, int year) {
        super(name, year, ItemType.BOOK);
    }

    public String toString() {
        return "name= " + this.getName() + "\t\t\tyearPublished= " + this.getYear();
    }

}